package com.burns.java.io;

import java.io.File;

public class DeleteFile {

	public static void main(String[] args) {
		File f = new File("d:"+File.separator+"test.txt");
		if(f.exists()){
			f.delete();
			System.out.println("文件是否存在:"+(f.exists()==true?"存在":"不存在"));
		}
	}
}
